#include "ros/ros.h"
#include <unitree_legged_msgs/LowCmd.h>

ros::Publisher pub;

void cb(const ros::TimerEvent& e)
{
    unitree_legged_msgs::LowCmd msg;
    pub.publish(msg);
}

int main(int argc, char **argv)
{
    ros::init(argc, argv, "test");
    ros::NodeHandle nh("~");

    pub = nh.advertise<unitree_legged_msgs::LowCmd>("t", 1);
    ros::Timer t = nh.createTimer(ros::Duration(0.04), cb);
    ros::spin();
}